<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <title>修改联系人</title>
    <meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">

    <link rel="stylesheet" href="../../../css/wx/mui.min.css">
    <link rel="stylesheet" href="../../../css/wx/app.css">
    <link rel="stylesheet" href="../../../css/wx/style.css"/>
    <script type="text/javascript">
        var pageConfig = {
            jss: ["app/khxx/khlxr"]
        };
    </script>
    <script data-main="../../../js/wx/public/config" src="../../../js/require.js"></script>
    <style>
        .mui-content {
            padding: 0;
        }

        .mui-scroll-wrapper {
            top: 50px;
        }

        .mui-table-view-cell {
            padding: 0;
        }

        .mui-card {
            margin: 0;
        }

        .mui-table-view-cell {
            border-bottom: 1px solid #dadada;
        }
    </style>

</head>

<body>
<div id="serveredPull">
    <div id="searchDiv" class="mui-input-row searchBox">
        <form action="javascript:app.returnFalse();">
            <i class="mui-icon mui-icon-search"></i>
            <input @search="toSearch" type="search" class="mui-input-clear" placeholder="联系人名称、电话、详细地址"
                   v-model.trim="keyword">
        </form>
    </div>
    <div class="mui-content serveredPull">
        <!--下拉刷新容器-->
        <div id="scroll1" class="mui-scroll-wrapper wf-slider-bottom-search">
            <div class="mui-scroll">
                <khlxritem :model="items"></khlxritem>
            </div>
        </div>
    </div>

    <div style="width: 100%;" class="footBtn flexl shadow2">
        <button id="addBtn" type="button" class="mui-btn mui-btn-royal mui-btn-block mui-btn-outlined addCar"><i
                class="iconfont icon icon-0010" style="margin-right: 5px;"></i>新建联系人信息
        </button>
    </div>
</div>
<script id="khlxr-template" type="text/x-template">
    <ul class="mui-table-view">
        <li v-for="v in model" @tap.stop="select(v)" class="mui-table-view-cell mui-media">
            <div class="mui-slider-right mui-disabled">
                <a class="mui-btn mui-btn-red" @tap.stop="deleteItem(v,$event)">删除</a>
            </div>
            <div class="mui-slider-handle wf-slider-handle">
                <div class="mui-card">
                    <div class="mui-card-content textStyle">
                        <div class="mui-row">
                            <div class="mui-col-xs-12">
                                <p>{{v.GWAL020}}</p>
                                <p>{{v.GWAL021}}</p>
                            </div>
                            <div class="mui-col-xs-12">
                                <p>详细地址:<span>{{v.GWAL018}}</span></p>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </li>
    </ul>
</script>
</body>
</html>